<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/inc/taglib.inc" %>
<%@ include file="/WEB-INF/inc/script.inc" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	<base href="${base}">
    <title>中金通 | 新增企业</title>

    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="font-awesome/css/font-awesome.css" rel="stylesheet">

	<!-- Data Tables -->
    <link href="css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">
    <link href="css/plugins/dataTables/dataTables.responsive.css" rel="stylesheet">
    <link href="css/plugins/dataTables/dataTables.tableTools.min.css" rel="stylesheet">
    
    <!-- 向导css -->
    <link href="css/plugins/steps/jquery.steps.css" rel="stylesheet">
    
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">

    <link href="css/plugins/datapicker/datepicker3.css" rel="stylesheet">
    
    <!-- 下拉框 -->
    <link href="css/plugins/chosen/chosen.css" rel="stylesheet">
    
    <!-- SUMMERNOTE -->
    <link href="css/plugins/summernote/summernote.css" rel="stylesheet">
	<link href="css/plugins/summernote/summernote-bs3.css" rel="stylesheet">
	
    <style type="text/css">
   	 textarea{
     	resize:none;
    	}
    .detailText
	{
	 padding:6px 12px; 
	}
	.form-control[readonly]{
		background-color: #fff;
			opacity: 1;
	}
	.content-control {
			display: block;
			width: 100%;
			/* padding:6px 12px; */
			line-height: 1.42857143;
			color: #555;
			background-color: #fff;
			background-image: none;
			border: 1px solid #ccc;
			/* border-radius: 4px; */
			-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
			box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
			-webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
			-o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
			transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s
		}
		.content-control.error{
		 	border: 1px dotted #cc5965;
		}
		.content-control.has-success{
			border-color: #1ab394;
			-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
			box-shadow: inset 0 1px 1px rgba(0,0,0,.075)
		}
		.control-label.content-success{
			color:#1ab394;
		}
    </style>
</head>

<body>

    <div id="wrapper">

    	<!-- 左侧菜单 -->
        <jsp:include page="/WEB-INF/jsp/common/main-menu.jsp"></jsp:include>

        <div id="page-wrapper" class="gray-bg">
        <div class="row border-bottom">
        <!-- 头部工具栏区 -->
        <jsp:include page="/WEB-INF/jsp/common/main-header.jsp"></jsp:include>
        </div>
            <div class="row wrapper border-bottom white-bg page-heading">
                <div class="col-lg-10">
                    <h2>企业管理</h2>
                    <ol class="breadcrumb">
                        <li>
                            <a href="common/platform">Home</a>
                        </li>
                        <li>
                            <a href="#">企业管理</a>
                        </li>
                        <li>
                         	<a href="enterprise/add">新增企业</a>
                        </li>
                    </ol>
                </div>
                <div class="col-lg-2">

                </div>
            </div>
		
		<div class="row" style="margin-top:10px;">
			<div class="col-md-12">
                    <div class="tabs-container">
                        <ul class="nav nav-tabs">
                            <li class="active">
								<a href="enterprise/add">
									 新增企业
								</a>
							</li>
                        </ul>
                        <div class="tab-content">
                            <div class="tab-pane active">
                                <div class="panel-body">
                                    <div class="wrapper wrapper-content  fadeInRight">
						                        <div>
													<form method="post" id="addForm" enctype="multipart/form-data" action="enterprise/doAdd" class="form-horizontal wizard-big">
													<input type="text"  id = "enterpriseId" style="display:none">
												<!--Detail form start-->
												<h1>基本信息</h1>
                                				<fieldset>
                                    				<!-- <h2>Account Information</h2> -->
						                              <div class="row">
									                    <div class="col-sm-6">
									                        <div class="form-group">
									                            <label class="col-sm-4 control-label"><font color="red">*&nbsp;&nbsp;</font>企业名称</label>
						                                        <div class="col-sm-8">
						                                    	   <input type="text" id="en_name" name="name" class="form-control" placeholder="企业名称"  id="enterpriseName">
						                                        </div>
									                        </div>
									                    </div>
									                    <div class="col-sm-6">
									                        <div class="form-group">
									                        	<label class="col-sm-2 control-label" style="position:relative;margin-left:-18px;width:19%;">成立日期</label>
						                                        <div class="input-group date">
									                                <span class="input-group-addon"><i class="fa fa-calendar"></i></span><input type="text"  id="en_createTime"name="createTime" class="form-control" data-date-format="yyyy-mm-dd"  >
									                            </div>
									                        </div>
									                    </div>
									                 </div>
						                            <!-- <div class="hr-line-dashed"></div> -->
						                             <div class="row">
									                    <div class="col-sm-6">
									                        <div class="form-group">
									                            <label class="col-sm-4 control-label"><font color="red">*&nbsp;&nbsp;</font>法定代表人</label>
						                                        <div class="col-sm-8">
						                                    	   <input type="text" name="legalPerson" id="en_legalPerson" class="form-control" placeholder="法定代表人" >
						                                        </div>
									                        </div>
									                    </div>
									                    <div class="col-sm-6">
									                        <div class="form-group">
									                            <label class="col-sm-2 control-label">工商注册号</label>
						                                        <div class="col-sm-8">
						                                    	   <input type="text" name="businessRegistrationNo"  id="en_businessRegistrationNo" class="form-control" placeholder="工商注册号" >
						                                        </div>
									                        </div>
									                    </div>
									                 </div>
						                            <!--  <div class="hr-line-dashed"></div> -->
						                              <div class="row">
									                    <div class="col-sm-12">
									                        <div class="form-group">
									                            <label class="col-sm-2 control-label">地址</label>
						                                        <div class="col-sm-8">
						                                    	   <input type="text" name="address"  id="en_address" class="form-control" placeholder="地址" >
						                                        </div>
									                        </div>
									                    </div>
									                 </div>
						                             <!-- <div class="hr-line-dashed"></div> -->
						                              <div class="row">
									                    <div class="col-sm-6">
									                        <div class="form-group">
									                            <label class="col-sm-4 control-label">联系人</label>
						                                        <div class="col-sm-8">
						                                    	   <input  type="text" name="contacts" id="en_contacts" class="form-control" placeholder="联系人" >
						                                        </div>
									                        </div>
									                    </div>
									                    <div class="col-sm-6">
									                        <div class="form-group">
									                        	<label class="col-sm-2 control-label">手机号码</label>
						                                        <div class="col-sm-8">
						                                    	   <input type="text" name="mobile" id="en_mobile" class="form-control" placeholder="手机号码" >
						                                        </div>
									                        </div>
									                    </div>
									                     <div class="col-sm-12">
									                        <div class="form-group">
									                        	<div class="ibox-title">
																	<h5>企业简介</h5>
																</div>
																<div class="ibox-content no-padding">
																	<div class="summernote"  id="en_introduction" class="form-control"></div>
																	<label id="contents-error" class="error" style="display:none" for="content">内容不能为空</label>
																</div>
									                        </div>
									                    </div>
									                 </div>
												</fieldset> 
												<h1>团队介绍</h1>
                                				<fieldset>
                                				<button class="btn btn-primary"  type="button"  id="addShareholderBtn"  onclick="addShareholderReset();"data-toggle="modal" data-target="#addShareholderModal">新增股东</button>
                                				<div class="row">
									                <div class="col-lg-12"><br/>
									                		<h2>股东结构</h2>
															 <div class="ibox float-e-margins">
										                        <div class="ibox-content">
										                            <table id="Shareholdertable"  style="width:100%;" class="table table-striped table-bordered table-hover" >
										                                <thead>
										                                <tr>
										                                    <th style="background-color:white;" class="sorting_disabled">姓名</th>
										                                    <th style="background-color:white;">职务</th>
										                                    <th style="background-color:white;">所占股份</th>
										                                    <th style="background-color:white;">是否全职</th>
										                                    <th style="background-color:white;">实际出资金额(万元人民币)</th>
										                                    <th style="background-color:white;">与其他股东历史关系描述</th>
										                                    <th style="background-color:white;">操作</th>
										                                </tr>
										                                </thead>
										                                <tbody>
										                                </tbody>
										                            </table>
										                        </div>
										                    </div>
									                </div>
									            </div>
											       <div class="row">
														<div class="wrapper wrapper-content">
															<div class="row">
																<div class="col-lg-12">
																	<div class="ibox float-e-margins">
																		<div class="ibox-title">
																			<h5 id="content-label1">
																				<font color="red">*&nbsp;&nbsp;</font>核心成员简介
																			</h5>
																		</div>
																		<div class="ibox-content no-padding">
																			<div class="summernote" id="coreMembersIntroduction" style="height:200px;"></div>
																			<label id="contents-error1" class="error" style="display:none" for="content">内容不能为空</label>
																		</div>
																	</div>
																</div>
															</div>
														</div>
													</div>
												</fieldset>
												<h1>商业模式</h1>
                                				<fieldset>
                                				<div class="row">
														<div class="wrapper wrapper-content">
															<div class="row">
																<div class="col-lg-12">
																	<div class="ibox float-e-margins">
																		<div class="ibox-title">
																			<h5>
																				主营业务
																			</h5>
																		</div>
																		<div class="ibox-content no-padding">
																			<div class="summernote" id="mainBusiness" ></div>
																			<label id="contents-error2" class="error" style="display:none" for="content">内容不能为空</label>
																		</div>
																	</div>
																</div>
															</div>
														</div>
													</div>
													<div class="row">
														<div class="wrapper wrapper-content">
															<div class="row">
																<div class="col-lg-12">
																	<div class="ibox float-e-margins">
																		<div class="ibox-title">
																			<h5>
																				所属行业情况
																			</h5>
																		</div>
																		<div class="ibox-content no-padding">
																			<div class="summernote" id="IndustrySituation" ></div>
																			<label id="contents-error3" class="error" style="display:none" for="content">内容不能为空</label>
																		</div>
																	</div>
																</div>
															</div>
														</div>
													</div>
													<div class="row">
														<div class="wrapper wrapper-content">
															<div class="row">
																<div class="col-lg-12">
																	<div class="ibox float-e-margins">
																		<div class="ibox-title">
																			<h5>
																				竞争地位
																			</h5>
																		</div>
																		<div class="ibox-content no-padding">
																			<div class="summernote"  id="competitivePosition" ></div>
																			<label id="contents-error4" class="error" style="display:none" for="content">内容不能为空</label>
																		</div>
																	</div>
																</div>
															</div>
														</div>
													</div>
													<div class="row">
														<div class="wrapper wrapper-content">
															<div class="row">
																<div class="col-lg-12">
																	<div class="ibox float-e-margins">
																		<div class="ibox-title">
																			<h5>
																				主要资产情况
																			</h5>
																		</div>
																		<div class="ibox-content no-padding">
																			<div class="summernote"   id="mainAssetConditions" ></div>
																			<label id="contents-error5" class="error" style="display:none" for="content">内容不能为空</label>
																		</div>
																	</div>
																</div>
															</div>
														</div>
													</div>
													<div class="row">
														<div class="wrapper wrapper-content">
															<div class="row">
																<div class="col-lg-12">
																	<div class="ibox float-e-margins">
																		<div class="ibox-title">
																			<h5>
																				业务模式
																			</h5>
																		</div>
																		<div class="ibox-content no-padding">
																			<div class="summernote"  id="businessModel" ></div>
																			<label id="contents-error6" class="error" style="display:none" for="content">内容不能为空</label>
																		</div>
																	</div>
																</div>
															</div>
														</div>
													</div>
													<div class="row">
														<div class="wrapper wrapper-content">
															<div class="row">
																<div class="col-lg-12">
																	<div class="ibox float-e-margins">
																		<div class="ibox-title">
																			<h5>
																				其他
																			</h5>
																		</div>
																		<div class="ibox-content no-padding">
																			<div class="summernote"  id="businessOther" ></div>
																			<label id="contents-error7" class="error" style="display:none" for="content">内容不能为空</label>
																		</div>
																	</div>
																</div>
															</div>
														</div>
													</div>
									            </fieldset>
									            <h1>财务数据</h1>
                                				<fieldset>
                                				<button class="btn btn-primary"  type="button"  id="addReportBtn"  onclick="addReportReset();"data-toggle="modal" data-target="#addReportModal">新增财务报表</button>
                                				<div class="row">
									                <div class="col-lg-12">
															 <div class="ibox float-e-margins">
										                        <div class="ibox-content">
										                            <table id="reportTable"  style="width:100%;" class="table table-striped table-bordered table-hover" >
										                                <thead>
										                                <tr>
										                                    <th style="background-color:white;" class="sorting_disabled">编制日</th>
										                                    <th style="background-color:white;">编制单位</th>
										                                    <th style="background-color:white;">资产负债表</th>
										                                    <th style="background-color:white;">利润表</th>
										                                    <th style="background-color:white;">现金流量表</th>
										                                    <th style="background-color:white;">主要财务指标</th>
										                                </tr>
										                                </thead>
										                                <tbody>
										                                </tbody>
										                            </table>
										                        </div>
										                    </div>
										                </div>
										            </div>
											       <div class="row">
														<div class="wrapper wrapper-content">
															<div class="row">
																<div class="col-lg-12">
																	<div class="ibox float-e-margins">
																		<div class="ibox-title">
																			<h5>
																				<font color="red">*&nbsp;&nbsp;</font>盈利预测
																			</h5>
																		</div>
																		<div class="ibox-content no-padding">
																			<div class="summernote"  id="profitForecast"></div>
																			<label id="contents-error8" class="error" style="display:none" for="content">内容不能为空</label>
																		</div>
																	</div>
																</div>
															</div>
														</div>
													</div>
													<div class="row">
														<div class="wrapper wrapper-content">
															<div class="row">
																<div class="col-lg-12">
																	<div class="ibox float-e-margins">
																		<div class="ibox-title">
																			<h5>
																				<font color="red">*&nbsp;&nbsp;</font>其他
																			</h5>
																		</div>
																		<div class="ibox-content no-padding">
																			<div class="summernote"  id="financiaOther"></div>
																			<label id="contents-error9" class="error" style="display:none" for="content">内容不能为空</label>
																		</div>
																	</div>
																</div>
															</div>
														</div>
													</div>
												</fieldset>
												<h1>附件</h1>
                                				<fieldset>
                                				<div class="row" style="padding-left:17px">
													    <div class="col-sm-6">
													        <div class="form-group">
													            <label class="col-sm-4 control-label">相关文件</label>
													             <div id="relatedFileId" class="col-sm-8">
													        		<c:forEach items="${relatedFile}" var="file">
													       			    <div style="padding-top:2px;" id="${file.id}">
													        			    ${file.fileName}
													        			    <button onclick="deleteFile(this)" style="border:0px;background:#0f0;background-color:transparent;" title="删除">
																			    <span aria-hidden="true">&times;</span>
																			    <span class="hide">Close</span>
																			</button>
																			<button id="${file.id}" name="${file.fileName}" type="button" class="btn btn-outline btn-primary btn-xs" onclick="showRenameDialog(this)">重命名</button>
													        			</div>
																	</c:forEach>
													            </div>
													        </div>
													    </div> 
													  </div>
											          <div class="row" style="padding-left:17px">
														  <div class="col-sm-6">
														      <div class="form-group">
														          <label class="col-sm-4 control-label">上传文件</label>
														          <div class="col-sm-6">
														          	   <input id="relatedFile" class="btn btn-outline btn-primary" type="file" name="relatedFile" accept=".xls,.xlsx,.doc,.docx,.txt,.pdf,.ppt,.pptx">
														          	   <div  style="padding-top:2px"><input class="btn btn-outline btn-primary" type="button" value="上传" onclick="uploadRelatedFile()"></div>
														          </div>
														      </div>
														 </div> 
													</div>  
                                				</fieldset>
											</form>

											<!-- 新增股东成员 -->
											<div class="modal inmodal fade" id="addShareholderModal" tabindex="-1" role="dialog" aria-hidden="true">
												<div class="modal-dialog modal-lg">
													<div class="modal-content">
														<div class="modal-header">
															<button type="button" class="close" data-dismiss="modal">
																<span aria-hidden="true">&times;</span>
																<span class="sr-only">Close</span>
															</button>
															<h4 class="modal-title" id="grade_edit_id">新增股东</h4>
														</div>
														<div class="modal-body">
															<div id="updateBody"></div>
															<form id="shareholderForm" class="form-horizontal">
																<div class="form-group">
																	<label class="col-sm-3 control-label">
																		<font color="red">*&nbsp;&nbsp;</font>姓名
																	</label>
																	<div class="col-sm-8">
																		<input type="text" id="shareholder_name" name="name" class="form-control">
																	</div>
																</div>
																<div class="form-group">
																	<label class="col-sm-3 control-label">
																		<font color="red">*&nbsp;&nbsp;</font>职务
																	</label>
																	<div class="col-sm-8">
																		<input type="text" id="shareholder_position" name="position" class="form-control">
																	</div>
																</div>
																<div class="form-group">
																	<label class="col-sm-3 control-label">
																		<font color="red">*&nbsp;&nbsp;</font>所占股份(%)
																	</label>
																	<div class="col-sm-8">
																		<input type="text" id="totalShares" name="totalShares" class="form-control">
																	</div>
																</div>
																<div class="form-group">
																	<label class="col-sm-3 control-label">
																		<font color="red">*&nbsp;&nbsp;</font>是否全职
																	</label>
																	<div class="col-sm-8">
																		<select type="text" id="fullTime" name="fullTime" class="form-control">
																			<option value="1">是</option>
																			<option value="0">否</option>
																		</select>
																	</div>
																</div>
																<div class="form-group">
																	<label class="col-sm-3 control-label">
																		<font color="red">*&nbsp;&nbsp;</font>实际出资金额
																	</label>
																	<div class="col-sm-8">
																		<input type="text" id="actualContributiveAmount" name="actualContributiveAmount" class="form-control">
																	</div>
																</div>
																<div class="form-group">
																	<label class="col-sm-3 control-label">
																		<font color="red">*&nbsp;&nbsp;</font>与其他股东历史关系描述
																	</label>
																	<div class="col-sm-8">
																		<textarea  id="sh_introduction" name="introduction" class="form-control"></textarea>
																	</div>
																</div>
																  <button type="reset" id="saveShareholderReset" class="btn btn-white" style="display:none;">重置</button>
															</form> 
																<div class="modal-footer">
																	<button type="button"  id="saveShareholderMiss"  class="btn btn-white" data-dismiss="modal">取 消</button>
																	<button type="button" id="saveShareholder" class="btn btn-primary">保 存</button>
															    </div>
														</div>
													</div>
												</div>
											</div>
											
											
											<!-- 新增报表 -->
											<div class="modal inmodal fade" id="addReportModal" tabindex="-1" role="dialog" aria-hidden="true">
												<div class="modal-dialog modal-lg">
													<div class="modal-content">
														<div class="modal-header">
															<button type="button" class="close" data-dismiss="modal">
																<span aria-hidden="true">&times;</span>
																<span class="sr-only">Close</span>
															</button>
															<h4 class="modal-title" id="grade_edit_id">新增财务报表</h4>
														</div>
														<div class="modal-body">
															<div id="updateBody"></div>
															<form id="ReportForm" class="form-horizontal">
																<div class="form-group">
																	<label class="col-sm-3 control-label">日期</label>
																	<div class="col-sm-8">
																		<input type="date" id="report_time" name="reportTime" placeholder="yyyy-MM-dd" class="form-control" value="">
																	</div>
																</div>
																	<div class="form-group">
																	<label class="col-sm-3 control-label">制表单位</label>
																	<div class="col-sm-8">
																		<input type="text" id="report_company" name="reportCompany" class="form-control" value="">
																	</div>
																</div>
																  <button type="reset" id="saveReportReset" class="btn btn-white" style="display:none;">重置</button>
															</form> 
																<div class="modal-footer">
																	<button type="button"  id="saveReportMiss"  class="btn btn-white" data-dismiss="modal">取 消</button>
																	<button type="button" id="saveReport" class="btn btn-primary">保 存</button>
															    </div>
														</div>
													</div>
												</div>
											</div>
						                     
						                       	
											<!-- 资产负债表 -->
											<button class="btn btn-primary"  type="button"  id="assetLiability"  style="display:none;" data-toggle="modal" data-target="#assetLiabilityModal"></button>
											<div class="modal inmodal fade" id="assetLiabilityModal" tabindex="-1" role="dialog" aria-hidden="true">
												<div class="modal-dialog modal-lg">
													<div class="modal-content">
														<div class="modal-header">
															<button type="button" class="close" data-dismiss="modal">
																<span aria-hidden="true">&times;</span>
																<span class="sr-only">Close</span>
															</button>
															<h4 class="modal-title" >资产负债表</h4>
															<h1 class="modal-title" >报表日期</h1><label id="tabulation_date"></label>
														</div>
														<div class="modal-body">
															<div class="row">
												                <div class="col-lg-12">
																		 <div class="ibox float-e-margins">
													                        <div class="ibox-content">
													                        <form method="post" id="assetLiabilityForm" enctype="multipart/form-data" class="form-horizontal wizard-big">
													                            <table id="reportTable"  style="height:100px;overflow-y:scroll;" class="table table-striped table-bordered table-hover" >
													                                <thead>
													                                <tr>
													                                    <th style="background-color:white;" class="sorting_disabled">序号</th>
													                                    <th style="background-color:white;width:240px;">项目</th>
													                                    <th style="background-color:white;">期末</th>
													                                    <th style="background-color:white;">年初</th>
													                                </tr>
													                                </thead>
													                                <tbody >
													                                  <tr>
													                                    <td colspan="4" ><center>流动资产</center></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>1</center></td>
													                                    <td><center>货币资金</center></td>
													                                    <td ><input type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_1"  name="line1Start"></td>
													                                    <td ><input type="number" onchange="assetLiabilityDataChange();"  id="alb_end_1" name="line1End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>2</center></td>
													                                    <td><center>短期投资</center></td>
													                                    <td ><input   type="number" onchange="assetLiabilityDataChange();" id="alb_start_2" name="line2Start"></td>
													                                    <td ><input   type="number" onchange="assetLiabilityDataChange();" id="alb_end_2" name="line2End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>3</center></td>
													                                    <td><center>应收票据</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();" id="alb_start_3" name="line3Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();" id="alb_end_3" name="line3End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>4</center></td>
													                                    <td><center>应收账款</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_4" name="line4Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();" id="alb_end_4"  name="line4End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>5</center></td>
													                                    <td><center>预付账款</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();" id="alb_start_5" name="line5Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();" id="alb_end_5" name="line5End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>6</center></td>
													                                    <td><center>应收股利</center></td>
													                                    <td ><input  type="number" onchange="assetLiabilityDataChange();"  id="alb_start_6" name="line6Start"></td>
													                                    <td ><input  type="number" onchange="assetLiabilityDataChange();"  id="alb_end_6" name="line6End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>7</center></td>
													                                    <td><center>应收利息</center></td>
													                                    <td ><input  type="number" onchange="assetLiabilityDataChange();"  id="alb_start_7" name="line7Start"></td>
													                                    <td ><input  type="number" onchange="assetLiabilityDataChange();"  id="alb_end_7" name="line7End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>8</center></td>
													                                    <td><center>其他应收款</center></td>
													                                    <td ><input type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_8" name="line8Start" ></td>
													                                    <td ><input type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_8" name="line8End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>9</center></td>
													                                    <td><center>存货</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_9" name="line9Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_9" name="line9End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>10</center></td>
													                                    <td><center>其他流动资产</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_10"  name="line10Start" ></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_10" name="line10End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>11</center></td>
													                                    <td><center>流动资产合计</center></td>
													                                    <td ><input readonly type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_11" name="line11Start"></td>
													                                    <td ><input readonly type="number"  onchange="assetLiabilityDataChange();" id="alb_end_11" name="line11End"></td>
													                                  </tr>
													                                  <tr>
													                                   	<td colspan="4" ><center>非流动资产</center></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>12</center></td>
													                                    <td><center>长期债券投资</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_12" name="line12Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_12" name="line12End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>13</center></td>
													                                    <td><center>长期股权投资</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"   id="alb_start_13" name="line13Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();" id="alb_end_13" name="line13End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>14</center></td>
													                                    <td><center>固定资产原价</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_14" name="line14Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_14" name="line14End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>15</center></td>
													                                    <td><center>减：累计折旧</center></td>
													                                    <td ><input  type="number" onchange="assetLiabilityDataChange();"   id="alb_start_15" name="line4Start"></td>
													                                    <td ><input  type="number" onchange="assetLiabilityDataChange();"   id="alb_end_15" name="line4End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>16</center></td>
													                                    <td><center>固定资产账面价值</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_16" name="line16Start" ></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_16" name="line16End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>17</center></td>
													                                    <td><center>固定资产清理</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_17" name="line17Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_17" name="line17End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>18</center></td>
													                                    <td><center>生产性生物资产</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_18" name="line18Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_18" name="line18End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>19</center></td>
													                                    <td><center>无形资产</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_19" name="line19Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_19" name="line19End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>20</center></td>
													                                    <td><center>长期待摊费用</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_20" name="line20Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"   id="alb_end_20" name="line20End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>21</center></td>
													                                    <td><center>其他非流动资产</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_21" name="line21Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_21" name="line21End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>22</center></td>
													                                    <td><center>非流动资产合计</center></td>
													                                    <td ><input readonly type="number"  id="alb_start_22" name="line22Start"></td>
													                                    <td ><input readonly type="number"  id="alb_end_22" name="line22End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>23</center></td>
													                                    <td><center>资产总计</center></td>
													                                    <td ><input readonly type="number"  id="alb_start_23" name="line23Start"></td>
													                                    <td ><input readonly type="number"  id="alb_end_23" name="line23End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td colspan="4" ><center>流动负债</center></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>24</center></td>
													                                    <td><center>短期借款</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_24" name="line24Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_24" name="line24End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>25</center></td>
													                                    <td><center>应付账款</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_25" name="line25Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_25" name="line25End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>26</center></td>
													                                    <td><center>预付账款</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_26" name="line26Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"   id="alb_end_26" name="line26End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>27</center></td>
													                                    <td><center>应付职工薪酬</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_27" name="line27Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_27" name="line27End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>28</center></td>
													                                    <td><center>应交税费</center></td>
													                                    <td ><input  type="number" onchange="assetLiabilityDataChange();"   id="alb_start_28" name="line28Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_28" name="line28End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>29</center></td>
													                                    <td><center>应付利息</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_29" name="line28Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_29" name="line28End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>30</center></td>
													                                    <td><center>应付利润</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_30" name="line30Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_30" name="line30End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>31</center></td>
													                                    <td><center>其他应付款</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"   id="alb_start_31" name="line31Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"   id="alb_end_31" name="line31End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>32</center></td>
													                                    <td><center>其他流动负债</center></td>
													                                    <td ><input  type="number"  id="alb_start_32" name="line32Start"></td>
													                                    <td ><input type="number"  id="alb_end_32" name="line32End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>33</center></td>
													                                    <td><center>流动负债合计</center></td>
													                                    <td ><input  readonly type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_33" name="line33Start"></td>
													                                    <td ><input  readonly type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_33" name="line33End"></td>
													                                  </tr>
													                                   <tr>
													                                  		<td colspan="4" ><center>非流动负债</center></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>34</center></td>
													                                    <td><center>长期借款</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_34" name="line34Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_34" name="line34End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>35</center></td>
													                                    <td><center>递延收益</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_35" name="line35Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_35" name="line35End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>36</center></td>
													                                    <td><center>其他非流动负债</center></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_36" name="line36Start"></td>
													                                    <td ><input  type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_36" name="line36End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>37</center></td>
													                                    <td><center>非流动负债合计</center></td>
													                                    <td ><input readonly type="number"  id="alb_start_37" name="line37Start"></td>
													                                    <td ><input readonly type="number"  id="alb_end_37" name="line37End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>38</center></td>
													                                    <td><center>负债合计</center></td>
													                                    <td ><input readonly type="number"  id="alb_start_38" name="line38Start"></td>
													                                    <td ><input readonly type="number"  id="alb_end_38" name="line38End"></td>
													                                  </tr>
													                                  <tr>
													                                   <td colspan="4" ><center>所有者权益(或股东权益)</center></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>39</center></td>
													                                    <td><center>实收资本(或股本)</center></td>
													                                    <td ><input type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_39" name="line29Start"></td>
													                                    <td ><input type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_39" name="line39End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>40</center></td>
													                                    <td><center>资本公积</center></td>
													                                    <td ><input type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_40" name="line40Start"></td>
													                                    <td ><input type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_40" name="line40End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>41</center></td>
													                                    <td><center>盈余公积</center></td>
													                                    <td ><input type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_41" name="line41Start"></td>
													                                    <td ><input type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_41" name="line41End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>42</center></td>
													                                    <td><center>未分配利润</center></td>
													                                    <td ><input type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_42" name="line42Start"></td>
													                                    <td ><input type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_42" name="line42End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>43</center></td>
													                                    <td><center>所有者权益(或股东权益)合计</center></td>
													                                    <td ><input  readonly type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_43"  name="line43Start"></td>
													                                    <td ><input  readonly type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_43" name="line43End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>44</center></td>
													                                    <td><center>负债和所有者权益(或股东权益)总计</center></td>
													                                    <td ><input  readonly type="number"  onchange="assetLiabilityDataChange();"  id="alb_start_44" name="line44Start"></td>
													                                    <td ><input  readonly type="number"  onchange="assetLiabilityDataChange();"  id="alb_end_44" name="line44End"></td>
													                                  </tr>
													                                </tbody>
													                            </table>
													                            </form>
													                        </div>
													                    </div>
													                </div>
													            </div>
																<div class="modal-footer">
																	<button type="button"  id="saveAssetLiabilityMiss"  class="btn btn-white" data-dismiss="modal">取 消</button>
																	<button type="button" id="saveAssetLiability" class="btn btn-primary">保 存</button>
															    </div>
														</div>
													</div>
												</div>
											</div>
											<!-- 资产负债表 end -->
											 
										    <!-- 利润表 -->
											<button class="btn btn-primary"  type="button"  id="profit"  style="display:none;" data-toggle="modal" data-target="#profitModal"></button>
											<div class="modal inmodal fade" id="profitModal" tabindex="-1" role="dialog" aria-hidden="true">
												<div class="modal-dialog modal-lg">
													<div class="modal-content">
														<div class="modal-header">
															<button type="button" class="close" data-dismiss="modal">
																<span aria-hidden="true">&times;</span>
																<span class="sr-only">Close</span>
															</button>
															<h4 class="modal-title" >利润表</h4>
															<h1 class="modal-title" >报表日期</h1><label id="profit_date"></label>
														</div>
														<div class="modal-body">
															<div class="row">
												                <div class="col-lg-12">
																		 <div class="ibox float-e-margins">
													                        <div class="ibox-content">
													                        <form method="post" id="profitForm" enctype="multipart/form-data" class="form-horizontal wizard-big">
													                            <table id="cashTable"  style="height:100px;overflow-y:scroll;" class="table table-striped table-bordered table-hover" >
													                                <thead>
													                                <tr>
													                                    <th style="background-color:white;" class="sorting_disabled">序号</th>
													                                    <th style="background-color:white;width:240px;">项目</th>
													                                    <th style="background-color:white;">本期金额</th>
													                                    <th style="background-color:white;">上期金额</th>
													                                </tr>
													                                </thead>
													                                <tbody >
													                                   <tr>
													                                    <td><center>1</center></td>
													                                    <td><center>主营业务收入</center></td>
													                                    <td ><input type="number"  onchange="profitDataChange();"  id="pft_start_1" name="line1Start"></td>
													                                    <td ><input type="number" onchange="profitDataChange();"   id="pft_end_1" name="line1End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>2</center></td>
													                                    <td><center>主营业务成本</center></td>
													                                    <td ><input   type="number" onchange="profitDataChange();" id="pft_start_2"  name="line2Start"></td>
													                                    <td ><input   type="number" onchange="profitDataChange();" id="pft_end_2" name="line2End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>3</center></td>
													                                    <td><center>主营业务税金及附加</center></td>
													                                    <td ><input  type="number"  onchange="profitDataChange();" id="pft_start_3"  name="line3Start"></td>
													                                    <td ><input  type="number"  onchange="profitDataChange();" id="pft_end_3" name="line3End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>4</center></td>
													                                    <td><center>主营业务利润(亏损以"-"号列)</center></td>
													                                    <td ><input  type="number"  onchange="profitDataChange();"  id="pft_start_4"  name="line4Start"></td>
													                                    <td ><input  type="number"  onchange="profitDataChange();"  id="pft_end_4" name="line4End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>5</center></td>
													                                    <td><center>其他业务收入</center></td>
													                                    <td ><input  type="number"  onchange="profitDataChange();" id="pft_start_5"  name="line5Start"></td>
													                                    <td ><input  type="number"  onchange="profitDataChange();" id="pft_end_5" name="line5End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>6</center></td>
													                                    <td><center>投资收益(亏损以"-"号列)</center></td>
													                                    <td ><input  type="number" onchange="profitDataChange();"  id="pft_start_6"  name="line6Start"></td>
													                                    <td ><input  type="number" onchange="profitDataChange();"  id="pft_end_6" name="line6End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>7</center></td>
													                                    <td><center>其他业务支出</center></td>
													                                    <td ><input  type="number" onchange="profitDataChange();"  id="pft_start_7"  name="line7Start"></td>
													                                    <td ><input  type="number" onchange="profitDataChange();"  id="pft_end_7" name="line7End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>8</center></td>
													                                    <td><center>销售费用</center></td>
													                                    <td ><input type="number"  onchange="profitDataChange();"  id="pft_start_8"  name="line8Start"></td>
													                                    <td ><input type="number"  onchange="profitDataChange();"  id="pft_end_8" name="line8End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>9</center></td>
													                                    <td><center>财务费用</center></td>
													                                    <td ><input  type="number"  onchange="profitDataChange();"  id="pft_start_9"  name="line9Start"></td>
													                                    <td ><input  type="number"  onchange="profitDataChange();"  id="pft_end_9" name="line9End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>10</center></td>
													                                    <td><center>管理费用</center></td>
													                                    <td ><input  type="number"  onchange="profitDataChange();"  id="pft_start_10"  name="line10Start"></td>
													                                    <td ><input  type="number"  onchange="profitDataChange();"  id="pft_end_10" name="line10End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>11</center></td>
													                                    <td><center>营业利润(亏损以"-"号列)</center></td>
													                                    <td ><input  type="number"  onchange="profitDataChange();"  id="pft_start_11"  name="line11Start"></td>
													                                    <td ><input  type="number"  onchange="profitDataChange();"  id="pft_end_11" name="line11End"></td>
													                                  </tr>
													                                    <tr>
													                                    <td><center>12</center></td>
													                                    <td><center>营业外收支净额(亏损以"-"号列)</center></td>
													                                    <td ><input  type="number"  onchange="profitDataChange();"  id="pft_start_12"  name="line12Start"></td>
													                                    <td ><input  type="number"  onchange="profitDataChange();"  id="pft_end_12" name="line12End"></td>
													                                  </tr>
													                                    <tr>
													                                    <td><center>13</center></td>
													                                    <td><center>利润总额(亏损以"-"号列)</center></td>
													                                    <td ><input readonly type="number"  onchange="profitDataChange();"  id="pft_start_13"  name="line13Start"></td>
													                                    <td ><input readonly type="number"  onchange="profitDataChange();" id="pft_end_13" name="line13End"></td>
													                                  </tr>
													                                    <tr>
													                                    <td><center>14</center></td>
													                                    <td><center>所得税费用</center></td>
													                                    <td ><input  type="number"  onchange="profitDataChange();"  id="pft_start_14"  name="line14Start"></td>
													                                    <td ><input  type="number"  onchange="profitDataChange();"  id="pft_end_14" name="line14End"></td>
													                                  </tr>
													                                    <tr>
													                                    <td><center>15</center></td>
													                                    <td><center>净利润(亏损以"-"号列)</center></td>
													                                    <td ><input readonly type="number"  onchange="profitDataChange();"  id="pft_start_15"  name="line15Start"></td>
													                                    <td ><input readonly type="number"  onchange="profitDataChange();"  id="pft_end_15" name="line15End"></td>
													                                  </tr>
													                                </tbody>
													                            </table>
													                            </form>
													                        </div>
													                    </div>
													                </div>
													            </div>
																<div class="modal-footer">
																	<button type="button"  id="saveProfitMiss"  class="btn btn-white" data-dismiss="modal">取 消</button>
																	<button type="button" id="saveProfit" class="btn btn-primary">保 存</button>
															    </div>
														</div>
													</div>
												</div>
											</div>
											<!-- 利润表 end -->    
											
											<!-- 现金流量表 -->
											<button class="btn btn-primary"  type="button"  id="cash"  style="display:none;" data-toggle="modal" data-target="#cashModal"></button>
											<div class="modal inmodal fade" id="cashModal" tabindex="-1" role="dialog" aria-hidden="true">
												<div class="modal-dialog modal-lg">
													<div class="modal-content">
														<div class="modal-header">
															<button type="button" class="close" data-dismiss="modal">
																<span aria-hidden="true">&times;</span>
																<span class="sr-only">Close</span>
															</button>
															<h4 class="modal-title" >现金流量表</h4>
															<h1 class="modal-title" >报表日期</h1><label id="cash_date">2015-08-10</label>
														</div>
														<div class="modal-body">
															<div class="row">
												                <div class="col-lg-12">
																		 <div class="ibox float-e-margins">
													                        <div class="ibox-content">
													                        <form method="post" id="cashForm" enctype="multipart/form-data" class="form-horizontal wizard-big">
													                            <table id="cashTable"  style="height:100px;overflow-y:scroll;" class="table table-striped table-bordered table-hover" >
													                                <thead>
													                                <tr>
													                                    <th style="background-color:white;" class="sorting_disabled">序号</th>
													                                    <th style="background-color:white;width:240px;">项目</th>
													                                    <th style="background-color:white;">本期金额</th>
													                                    <th style="background-color:white;">上期金额</th>
													                                </tr>
													                                </thead>
													                                <tbody >
													                                   <tr>
													                                    <td colspan="4"><center>经营活动产生的现金流量</center></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>1</center></td>
													                                    <td><center>销售产成品、商品、提供劳务收到的现金</center></td>
													                                    <td ><input   type="number" onchange="cashDataChange();" id="cash_start_1" name="line1Start"></td>
													                                    <td ><input   type="number" onchange="cashDataChange();" id="cash_end_1" name="line1End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>2</center></td>
													                                    <td><center>收到其他与经营活动有关的现金</center></td>
													                                    <td ><input   type="number" onchange="cashDataChange();" id="cash_start_2" name="line2Start"></td>
													                                    <td ><input   type="number" onchange="cashDataChange();" id="cash_end_2" name="line2End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>3</center></td>
													                                    <td><center>购买原材料、商品、接受劳务支付的现金</center></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();" id="cash_start_3" name="line3Start"></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();" id="cash_end_3" name="line3End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>4</center></td>
													                                    <td><center>支付的职工薪酬</center></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_start_4" name="line4Start"></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();" id="cash_end_4" name="line4End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>5</center></td>
													                                    <td><center>支付的税费</center></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();" id="cash_start_5" name="line5Start"></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();" id="cash_end_5" name="line5End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>6</center></td>
													                                    <td><center>支付其他与经营活动有关的现金</center></td>
													                                    <td ><input  type="number" onchange="cashDataChange();"  id="cash_start_6" name="line6Start"></td>
													                                    <td ><input  type="number" onchange="cashDataChange();"  id="cash_end_6" name="line6End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>7</center></td>
													                                    <td><center>经营活动产生的现金流量净额</center></td>
													                                    <td ><input readonly type="number" onchange="cashDataChange();"  id="cash_start_7" name="line7Start"></td>
													                                    <td ><input readonly type="number" onchange="cashDataChange();"  id="cash_end_7" name="line7End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td colspan="4"><center>投资活动产生的现金流量</center></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>8</center></td>
													                                    <td><center>处置固定资产和无形资产收回的现金净额</center></td>
													                                    <td ><input type="number"  onchange="cashDataChange();"  id="cash_start_8" name="line8Start"></td>
													                                    <td ><input type="number"  onchange="cashDataChange();"  id="cash_end_8" name="line8End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>9</center></td>
													                                    <td><center>收回短期投资、长期债券投资和长期股权投资收到的现金</center></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_start_9" name="line9Start"></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_end_9" name="line9End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>10</center></td>
													                                    <td><center>取得投资收益收到的现金</center></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_start_10" name="line10Start"></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_end_10" name="line10End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>11</center></td>
													                                    <td><center>购建固定资产和无形资产支付的现金</center></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_start_11" name="line11Start"></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_end_11" name="line11End"></td>
													                                  </tr>
													                                    <tr>
													                                    <td><center>12</center></td>
													                                    <td><center>短期投资、长期债券投资和长期股权投资支付的现金</center></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_start_12" name="line12Start"></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_end_12" name="line12End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>13</center></td>
													                                    <td><center>投资活动产生的现金流量净额</center></td>
													                                    <td ><input readonly type="number"  onchange="cashDataChange();"  id="cash_start_13" name="line13Start"></td>
													                                    <td ><input readonly type="number"  onchange="cashDataChange();" id="cash_end_13" name="line13End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td colspan="4"><center>筹资活动产生的现金流量</center></td>
													                                  </tr>
													                                    <tr>
													                                    <td><center>14</center></td>
													                                    <td><center>取得借款收到的现金</center></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_start_14" name="line14Start"></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_end_14" name="line14End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>15</center></td>
													                                    <td><center>吸收投资者投资收到的现金</center></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_start_15" name="line15Start"></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_end_15" name="line15End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>16</center></td>
													                                    <td><center>偿还借款本息支付的现金</center></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_start_16" name="line16Start"></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_end_16" name="line16End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>17</center></td>
													                                    <td><center>分配利润支付的现金</center></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_start_17" name="line17Start"></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_end_17" name="line17End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>18</center></td>
													                                    <td><center>筹资活动产生的现金流量净额</center></td>
													                                    <td ><input readonly type="number"  onchange="cashDataChange();"  id="cash_start_18" name="line18Start"></td>
													                                    <td ><input readonly type="number"  onchange="cashDataChange();"  id="cash_end_18" name="line18End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>19</center></td>
													                                    <td><center>现金净增加额</center></td>
													                                    <td ><input readonly type="number"  onchange="cashDataChange();"  id="cash_start_19" name="line19Start"></td>
													                                    <td ><input readonly type="number"  onchange="cashDataChange();"  id="cash_end_19" name="line19End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>20</center></td>
													                                    <td><center>期初现金余额</center></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_start_20" name="line20Start"></td>
													                                    <td ><input  type="number"  onchange="cashDataChange();"  id="cash_end_20" name="line20End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>21</center></td>
													                                    <td><center>期末现金余额</center></td>
													                                    <td ><input readonly type="number"  onchange="cashDataChange();"  id="cash_start_21" name="line21Start"></td>
													                                    <td ><input readonly type="number"  onchange="cashDataChange();"  id="cash_end_21" name="line21End"></td>
													                                  </tr>
													                                </tbody>
													                            </table>
													                            </form>
													                        </div>
													                    </div>
													                </div>
													            </div>
																<div class="modal-footer">
																	<button type="button"  id="saveCashMiss"  class="btn btn-white" data-dismiss="modal">取 消</button>
																	<button type="button" id="saveCash" class="btn btn-primary">保 存</button>
															    </div>
														</div>
													</div>
												</div>
											</div> 
											<!-- 现金流量表 end -->
											
											<!--主要财务指标 -->
											<button class="btn btn-primary"  type="button"  id="finance"  style="display:none;" data-toggle="modal" data-target="#financeModal"></button>
											<div class="modal inmodal fade" id="financeModal" tabindex="-1" role="dialog" aria-hidden="true">
												<div class="modal-dialog modal-lg">
													<div class="modal-content">
														<div class="modal-header">
															<button type="button" class="close" data-dismiss="modal">
																<span aria-hidden="true">&times;</span>
																<span class="sr-only">Close</span>
															</button>
															<h4 class="modal-title" >现金流量表</h4>
															<h1 class="modal-title" >报表日期</h1><label id="finance_date"></label>
														</div>
														<div class="modal-body">
															<div class="row">
												                <div class="col-lg-12">
																		 <div class="ibox float-e-margins">
													                        <div class="ibox-content">
													                        <form method="post" id="financeForm" enctype="multipart/form-data" class="form-horizontal wizard-big">
													                            <table id="financeTable"  style="height:100px;overflow-y:scroll;" class="table table-striped table-bordered table-hover" >
													                                <thead>
													                                <tr>
													                                    <th style="background-color:white;" class="sorting_disabled">序号</th>
													                                    <th style="background-color:white;width:240px;">项目</th>
													                                    <th style="background-color:white;">本期金额</th>
													                                    <th style="background-color:white;">上期金额</th>
													                                </tr>
													                                </thead>
													                                <tbody >
													                                  <tr>
													                                    <td><center>1</center></td>
													                                    <td><center>流动比率</center></td>
													                                    <td ><input   type="number" onchange="financeDataChange();" id="fin_start_1" name="line1Start"></td>
													                                    <td ><input   type="number" onchange="financeDataChange();" id="fin_end_1" name="line1End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>2</center></td>
													                                    <td><center>销售产成品、商品、提供劳务收到的现金</center></td>
													                                    <td ><input   type="number" onchange="financeDataChange();" id="fin_start_2" name="line2Start"></td>
													                                    <td ><input   type="number" onchange="financeDataChange();" id="fin_end_2"  name="line2End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>3</center></td>
													                                    <td><center>收到其他与经营活动有关的现金</center></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();" id="fin_start_3" name="line3Start"></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();" id="fin_end_3" name="line3End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>4</center></td>
													                                    <td><center>购买原材料、商品、接受劳务支付的现金</center></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_start_4" name="line4Start"></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();" id="fin_end_4" name="line4End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>5</center></td>
													                                    <td><center>支付的职工薪酬</center></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();" id="fin_start_5" name="line5Start"></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();" id="fin_end_5" name="line5End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>6</center></td>
													                                    <td><center>支付的税费</center></td>
													                                    <td ><input  type="number" onchange="financeDataChange();"  id="fin_start_6" name="line6Start"></td>
													                                    <td ><input  type="number" onchange="financeDataChange();"  id="fin_end_6" name="line6End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>7</center></td>
													                                    <td><center>支付其他与经营活动有关的现金</center></td>
													                                    <td ><input  type="number" onchange="financeDataChange();"  id="fin_start_7" name="line7Start"></td>
													                                    <td ><input  type="number" onchange="financeDataChange();"  id="fin_end_7" name="line7End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>8</center></td>
													                                    <td><center>经营活动产生的现金流量净额</center></td>
													                                    <td ><input type="number"  onchange="financeDataChange();"  id="fin_start_8" name="line8Start"></td>
													                                    <td ><input type="number"  onchange="financeDataChange();"  id="fin_end_8" name="line8End"></td>
													                                  </tr>
													                                  <tr>
													                                  	<td colspan="4"><center>投资活动产生的现金流量</center></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>9</center></td>
													                                    <td><center>处置固定资产和无形资产收回的现金净额</center></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_start_9" name="line9Start"></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_end_9" name="line9End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>10</center></td>
													                                    <td><center>收回短期投资、长期债券投资和长期股权投资收到的现金</center></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_start_10" name="line10Start"></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_end_10" name="line10End"></td>
													                                  </tr>
													                                  <tr>
													                                    <td><center>11</center></td>
													                                    <td><center>取得投资收益收到的现金</center></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_start_11" name="line11Start"></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_end_11" name="line11End"></td>
													                                  </tr>
													                                    <tr>
													                                    <td><center>12</center></td>
													                                    <td><center>购建固定资产和无形资产支付的现金</center></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_start_12" name="line12Start"></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_end_12" name="line12End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>13</center></td>
													                                    <td><center>短期投资、长期债券投资和长期股权投资支付的现金</center></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_start_13" name="line13Start"></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();" id="fin_end_13" name="line13End"></td>
													                                  </tr>
													                                    <tr>
													                                    <td><center>14</center></td>
													                                    <td><center>投资活动产生的现金流量净额</center></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_start_14" name="line14Start"></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_end_14" name="line14End"></td>
													                                  </tr>
													                                   <tr>
													                                     <td colspan="4"><center>筹资活动产生的现金流量</center></td>
													                                   </tr>
													                                   <tr>
													                                    <td><center>15</center></td>
													                                    <td><center>取得借款收到的现金</center></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_start_15" name="line15Start"></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_end_15" name="line15End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>16</center></td>
													                                    <td><center>吸收投资者投资收到的现金</center></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_start_16" name="line16Start"></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_end_16" name="line16End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>17</center></td>
													                                    <td><center>偿还借款本息支付的现金</center></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_start_17" name="line17Start"></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_end_17" name="line17End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>18</center></td>
													                                    <td><center>分配利润支付的现金</center></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_start_18" name="line18Start"></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_end_18" name="line18End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>19</center></td>
													                                    <td><center>筹资活动产生的现金流量净额</center></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_start_19" name="line19Start"></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_end_19" name="line19End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>20</center></td>
													                                    <td><center>现金净增加额</center></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_start_20" name="line20Start"></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_end_20" name="line20End" ></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>21</center></td>
													                                    <td><center>期初现金余额</center></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_start_21" name="line21Start"></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_end_21"  name="line21End"></td>
													                                  </tr>
													                                   <tr>
													                                    <td><center>22</center></td>
													                                    <td><center>期末现金余额</center></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_start_22" name="line22Start"></td>
													                                    <td ><input  type="number"  onchange="financeDataChange();"  id="fin_end_22" name="line22End"></td>
													                                  </tr>
													                                </tbody>
													                            </table>
													                            </form>
													                        </div>
													                    </div>
													                </div>
													            </div>
																<div class="modal-footer">
																	<button type="button"  id="saveFinanceMiss"  class="btn btn-white" data-dismiss="modal">取 消</button>
																	<button type="button" id="saveFinance" class="btn btn-primary">保 存</button>
															    </div>
														</div>
													</div>
												</div>
											</div> 
											<!-- 主要财务指标 end -->
											
											<!-- 企业附件重命名 -->
												<div class="modal inmodal fade" id="updateModel_relatedFile" tabindex="-1" role="dialog"  aria-hidden="true">
					                                <div class="modal-dialog modal-lg">
					                                    <div class="modal-content">
					                                        <div class="modal-header">
					                                            <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
					                                            <h4 class="modal-title">重命名</h4>
					                                        </div>
					                                        <div class="modal-body">
					                                        <div id="updateBody_relatedFile"></div>
					                                        <div class="form-horizontal">
					                                			<div class="form-group">
					                                				<label class="col-sm-2 control-label">文件原名</label>
					                                    			<div class="col-sm-8">
					                                    				<input readonly style="border:0px;background:#0f0;background-color:transparent;" type="text" id="o_renameFileName" class="form-control" >
					                                				</div>
					                                			</div>
					                                			<div class="form-group">
					                                				<label class="col-sm-2 control-label"><font color="red">*&nbsp;&nbsp;</font>文件新名</label>
					                                    			<div class="col-sm-8">
					                                    				<input type="text" id="renameFileName" class="form-control" >
					                                            	</div>
					                                			</div>
					                                			<span id="renameInfo" class="col-sm-2 control-label"></span>
					                                       </div>
																
					                                        </div>
					                                        <div class="modal-footer">
					                                            <button type="button" class="btn btn-white" data-dismiss="modal">取 消</button>
					                                            <button type="button" class="btn btn-primary" onclick="renameFile()">保 存</button>
					                                        </div>
					                                    </div>
					                                </div>
					                            </div>
					                            <!--企业附件重命名 end --> 
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		
        <!-- 底部版权 -->
        <jsp:include page="/WEB-INF/jsp/common/main-footer.jsp"></jsp:include>

        </div>
        </div>

   <!-- Mainly scripts -->
	<script src="js/jquery-2.1.1.js"></script>
	<script src="js/bootstrap.min.js"></script>
	<script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
	<script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
	<script src="js/jquery.serialize-object.min.js" type="text/javascript"></script>
	<script src="js/plugins/validate/jquery.validate.min.js" type="text/javascript"></script>
	<script src="js/plugins/validate/jquery.validate.messages-zh_CN.js" type="text/javascript"></script>
	<!-- Custom and plugin javascript -->
	<script src="js/inspinia.js"></script>
	<script src="js/plugins/pace/pace.min.js"></script>
	<script src="js/plugins/bootbox/bootbox.min.js" type="text/javascript"></script>
	<!-- Data picker -->
	<script src="js/plugins/datapicker/bootstrap-datepicker.js"></script>

	<!-- Data Tables -->
	<script src="js/plugins/dataTables/jquery.dataTables.min.js"></script>
	<script src="js/plugins/dataTables/dataTables.bootstrap.js"></script>
	<script src="js/plugins/dataTables/dataTables.responsive.js"></script>
	<script src="js/plugins/dataTables/dataTables.tableTools.min.js"></script>
    
    <!-- Steps -->
    <script src="js/plugins/staps/jquery.steps.min.js"></script>
    
    <!-- SUMMERNOTE -->
	<script src="js/plugins/summernote/summernote.min.js"></script>
	<script src="js/enterprise/summernoteValidate.js"></script>
	<!-- Clock picker -->
	<script src="js/jquery.tmpl.min.js"></script>
	<script src="js/ajaxfileupload.js"></script>
	<script src="js/jquery.form.js"></script>
	<!-- 业务 -->
	<script src="js/ajaxfileupload.js"></script>
	<script src="js/jquery.form.js"></script>
	<script src="js/enterprise/add.js"></script>
	
	<script src="js/product/FormatUtils.js"></script>
	
	<!-- Chosen -->
    <script src="js/plugins/chosen/chosen.jquery.js"></script>
    
	<!-- 产品基本信息 -->
	<script>
		$(document).ready(function() {
			EnterpriseAdd.init();
			$("#addForm").steps({
			    bodyTag: "fieldset",
			    onStepChanging: function (event, currentIndex, newIndex)
			    {
			        if (currentIndex > newIndex)
			        {
			            return true;
			        }
			        var form = $(this);

			        if (currentIndex < newIndex)
			        {
			            $(".body:eq(" + newIndex + ") label.error", form).remove();
			            $(".body:eq(" + newIndex + ") .error", form).removeClass("error");  
			        }

			        form.validate().settings.ignore = ":disabled,:hidden";
					var flag = form.valid();
			        if(!flag){
			        	return flag;
			        }
			        
			        if(currentIndex==0){
			        	if(!validateContent()){
			        		return false;
			        	}
			        	//新增企业基本信息
			        	addEnterpriseBaseInfo();
			        }else if(currentIndex==1){
			        	if(!validateContent1()){
			        		return false;
			        	}
			        	//新增团队介绍信息
			        	addTeamIntroduce();
			        }else if(currentIndex==2){
			        	//新增商业模式信息
			        	 addBusinessModel();
			        }else if(currentIndex==3){
			        	if(!validateContent8()){
			        		return false;
			        	}
			        	//新增财务数据信息
			            addFinancialData();
			        }
			        return flag;
			    },
			    onStepChanged: function (event, currentIndex, priorIndex)
			    {
			    	if (currentIndex == 4){
			            $("a[href=#finish]").css("display","");
			        } 

			    },
			    onFinishing: function (event, currentIndex)
			    {
			    	window.location.href= 'project/add';
			    },
			    onFinished: function (event, currentIndex)
			    {
			        window.location.href= 'project/add';
			    }
			}).validate({
			    errorPlacement: function (error, element)
			    {
			        element.before(error);
			    },
			    rules: {
			        confirm: {
			        }
			    }
			}); 
			//初始化富文本编辑框
			initSummernote();
			
            $('#en_createTime').datepicker({
                todayBtn: "linked",
                keyboardNavigation: false,
                forceParse: false,
                calendarWeeks: true,
                autoclose: true
            });
            
			//下拉框
			var config = {
	                '.chosen-select'           : {},
	                '.chosen-select-deselect'  : {allow_single_deselect:true},
	                '.chosen-select-no-single' : {disable_search_threshold:10},
	                '.chosen-select-no-results': {no_results_text:'Oops, nothing found!'},
	                '.chosen-select-width'     : {width:"95%"}
	                }
	        for (var selector in config) {
	                $(selector).chosen(config[selector]);
	        }
			
			$("a[href=#previous]").text("上一步");
			$("a[href=#next]").text("下一步");
			$("a[href=#finish]").text("完成");
			$("a[href=#finish]").css("display","none");
			$("a[href=#cancel]").css("display","none");
		});
		
	</script>
    
</body>
</html>